/* Include these
 * #include <stdlib.h>
 * #include <pthread.h>
 * #include <stdint.h>
 * #include <sys/select.h>
 * #include <sys/socket.h>
 * #include <sys/un.h>
 * #include <nit/socket.h>
 */

/* text print additional data */

typedef struct {
	char *bytes;
	size_t size;
	size_t chunk; /* characters in a chunk */
	double spc;   /* seconds per chunk */
} T3_tpad;

/* text print response */

typedef struct {
	int done;
	size_t amt;
} T3_tpre;

int
t3_tp(Nit_joint *in, Nit_joint *out, T3_tpad *ad, T3_tpre *re);
